// import styles from "./index.module.scss";
import LoginForm from "./LoginForm/index.tsx";
import RegisterForm from "./RegisterForm/index.tsx";
import LoginBackground from "./LoginBackground";
import { useState } from "react";
const LoginBoxView = () => {
  const [isLogin, setIsLogin] = useState<any>(true)
  return (
    <div style={{ position: "relative" }}>
      <LoginBackground />
      {
        // @ts-ignore
        isLogin ? <LoginForm setIsLogin={setIsLogin} /> : <RegisterForm setIsLogin={setIsLogin} />
      }
      
    </div>
  );
};

export default LoginBoxView;
